using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace WXWorkSvc.Areas.Admin.Pages.Jwt;

public class IndexModel : PageModel
{
    public List<TJwt> Items { get; set; } = default!;
    public TJwt Item { get; set; } = default!;
    public async Task OnGet([FromServices] WXDbContext db)
    {
        Items = await db.Jwts.ToListAsync();
    }
}
